import http from "../../common/http";

export default {
  async me(state, params) {
    const result = await http.post("/user/me", params);
    state.commit("setInfo", result);
    return result;
  },
};
